package xiaoqi.springboot.boot.loggingdemo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ApplicationLoggingDemo {

    private static Logger logger = LoggerFactory.getLogger(ApplicationLoggingDemo.class);

    public static void main(String[] args) {
        SpringApplication.run(ApplicationLoggingDemo.class, args);
        logger.error("error");

    }
}
